package com.leyou.item.dto;

import com.leyou.item.pojo.Sku;
import com.leyou.item.pojo.Spu;
import com.leyou.item.pojo.SpuDetail;
import lombok.Data;

import java.util.List;

/**
 * 封装前后端交互的数据
 */
@Data
public class SpuDTO extends Spu {
    //扩展自己的属性

    private String categoryName;//分类名称，格式：手机通讯/手机/手机
    private String brandName;//品牌名称，格式：华为(HuaWei)

    private List<Sku> skus;
    private SpuDetail spuDetail;
}
